export default function(Vue) {
  const req = require.context('./lib', false, /\.vue$/)
  req.keys().forEach((item) => {
    const componentCom = req(item).default
    Vue.component(componentCom.name, componentCom)
  })
}
